package com.pl.grainmall.order.feign;

import com.pl.grainmall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient("grainmall-cart")
public interface CartFeignService {
    //获取当前用户所有选中的购物项
    @GetMapping("/curentUserCartItems")
    public List<OrderItemVo> getCurentUserCartItems();
}
